package com.pac.weixin.bean;

import java.io.Serializable;

/**
 * 微信聊天Bean
 * 
 * @author  lujun.chen
 * @version  [版本号, 2015年2月26日]
 * @see  [相关类/方法]
 * @since  [产品/模块版本]
 */
public class WxChatBean implements Serializable{

	private static final long serialVersionUID = -476355385519524965L;
	
	/**
	 * id
	 */
	private String id;
	
	/**
	 *微信OpenId
	 */
	private String openId;
	
	/**
	 * 微信用户昵称
	 */
	private String nickname="微信用户";
	
	/**
	 * 医生用户ID
	 */
	private String userId;
	
	/**
	 * 状态 1：未读，2：已读
	 */
	private String state;
	
	/**
	 * 聊天内容
	 */
	private String content;
	
	/**
	 * 数据流向
	 * 1：微信->PAC
	 * 2：PAC->微信'
	 */
	private String direction;
	
	/**
	 * 创建时间
	 */
	private String createDate;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getDirection() {
		return direction;
	}

	public void setDirection(String direction) {
		this.direction = direction;
	}

	public String getCreateDate() {
		return createDate;
	}

	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

}
